Further analysis of Kahan's algorithm for the accurate computation of 2×2 determinants
نویسندگان
چکیده
We provide a detailed analysis of Kahan’s algorithm for the accurate computation of the determinant of a 2 × 2 matrix. This algorithm requires the availability of a fused multiply-add instruction. Assuming radix-β, precision-p floating-point arithmetic with β even, p ≥ 2, and barring overflow or underflow we show that the absolute error of Kahan’s algorithm is bounded by (β+1)/2 ulps of the exact result and that the relative error is bounded by 2u with u = 1 2 β1−p the unit roundoff. Furthermore, we provide input values showing that i) when β/2 is odd—which holds for 2 and 10, the two radices that matter in practice—the absolute error bound is optimal; ii) the relative error bound is asymptotically optimal, that is, for such input the ratio (relative error)/2u has the form 1 − O(β−p). We also give relative error bounds parametrized by the relative order of magnitude of the two products in the determinant, and we investigate whether the error bounds can be improved when adding constraints: When the products in the determinant have opposite signs, which covers the computation of a sum of squares, or when Kahan’s algorithm is used for computing the discriminant of a quadratic equation.
منابع مشابه
Computation Optical Flow Using Pipeline Architecture
Accurate estimation of motion from time-varying imagery has been a popular problem in vision studies, This information can be used in segmentation, 3D motion and shape recovery, target tracking, and other problems in scene analysis and interpretation. We have presented a dynamic image model for estimating image motion from image sequences, and have shown how the solution can be obtained from a ...
متن کاملAn Efficient Algorithm for Workspace Generation of Delta Robot
Dimensional synthesis of a parallel robot may be the initial stage of its design process, which is usually carried out based on a required workspace. Since optimization of the links lengths of the robot for the workspace is usually done, the workspace computation process must be run numerous times. Hence, importance of the efficiency of the algorithm and the CPU time of the workspace computatio...
متن کاملA New Method for Geolocating of Radiation Sources Based on Evolutionary Computation of TDOA Equations
In this article a new method is introduced for geolocating of signal emitters which is based on evolutionary computation (EC) concept. In the proposed method two well-known members of EC techniques including Bees Algorithm (BA) and Genetic Algorithm (GA), are utilized to estimate the positions of emitters by optimizing the hyperbola equations which have been resulted from Time Difference of Arr...
متن کاملRandomized Algorithm For 3-Set Splitting Problem and it's Markovian Model
In this paper we restrict every set splitting problem to the special case in which every set has just three elements. This restricted version is also NP-complete. Then, we introduce a general conversion from any set splitting problem to 3-set splitting. Then we introduce a randomize algorithm, and we use Markov chain model for run time complexity analysis of this algorithm. In the last section ...
متن کاملA Novel Algorithm for Accurate Diagnosis of Hepatitis B and Its Severity
Background and Objectives: Accurate detection of type and severity of Hepatitis is crucial for effective treatment of the disease. While several computational algorithms for detection of Hepatitis have been proposed to date, their limited performance leaves room for further improvement. This paper proposes a novel computational method for the diagnosis of Hepatitis B using pattern detection tec...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Math. Comput.
دوره 82 شماره
صفحات -
تاریخ انتشار 2013